﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DBMS.Indexes.Tree.BPlus
{
    public class LeafNode<IT, OT> : Node<IT>
    {
        public LeafNode(int order) : base(order) 
        {
        }

        public OT GetDataPointer(int i)
        {
            return (OT)GetPointer(i);
        }

        protected override Node<IT> CloneNew()
        {
            return new LeafNode<IT, OT>(order);
        }
    }
}